var request = require('../request.js')

module.exports = {
	// 修改个人信息
	setUserInfo: function(e) {
		return request.autoRequest("/appApi/user", e, 'PUT');
	},
	// 获取个人信息
	getUserInfo: function(e) {
		return request.getRequest("/appApi/user/own", e)
	},
	// 获取个人信息
	sysUserDetail: function(e) {
		return request.getRequest("/sys/user/own", e)
	},
	// 通过手机验证码设置密码
	setPassword: function(e) {
		return request.autoRequest("/change/password", e, 'PUT')
	},
	// 意见反馈
	feedback: function(e) {
		return request.autoRequest("/vote/feedback", e, 'POST')
	},

	//意见反馈详情
	feedbackDetail(e) {
		return request.getRequest('/vote/feedback/' + e);
	},
	// 意见反馈列表
	feedbackList: function(e) {
		return request.autoRequest("/vote/feedback/userList", e, 'GET')
	},
	// 意见反馈枚举
	getVoteEnums: function(e) {
		return request.autoRequest("/vote/manager/getVoteEnums", e, 'GET')
	},
	// 配置信息底部技术支持
	getMobileConfig: function(e) {
		return request.getRequest("/appApi/mobileConfig", e)
	},
	// 修改手机号
	changeMobile: function(e) {
		return request.autoRequest("/appApi/user/changeMobile", e, 'PUT')
	},
	// 获取新手指引图
	getGuide: function(e) {
		return request.getRequest("/vote/manager/guide", e)
	},
	//所有的订单确认接口/funeral/appointmentAssociation/confirm/
	appointmentAssociationConfirm: function(id) {
		return request.autoRequest("/funeral/appointmentAssociation/confirm/" + id)
	},


}